﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SoaBox.Business.Entities
{
    /// <summary>
    /// Method data
    /// </summary>
    public class MethodData : MemberData
    {
        #region Fields

        private List<ParameterData> _parameters;
        private TypeData returnedType;
       
        #endregion Fields

        #region Properties

        /// <summary>
        /// List of parameters of the method
        /// </summary>
        public List<ParameterData> Parameters
        {
            get { return _parameters; }
            set { _parameters = value; }
        }

        /// <summary>
        /// Type returned by the method
        /// </summary>
        public TypeData ReturnedType
        {
            get { return returnedType; }
            set { returnedType = value; }
        }

        #endregion Properties  
    }
}
